// 获取用户信息
export const userInfo = `
query($driver_id:Int){
  driver_info(driver_id:$driver_id){
    avatar
    nickname
    realname
    mobile
    money
    score
    customers_id
    role_text
    is_plug
	empower_money
    fenbo_money
    store_id
	cart_code
  }
}
`;
export const bankInfo = `
query($driver_id:Int){
  bank(driver_id:$driver_id){
    id
    real_name
    bank_name
    card_no
    bank_info
  }
}
`;
//分享//新增
export const shareUserInfo = `
query($driver_id:Int){
  driver_info(driver_id:$driver_id){
    yq_qrcode
    em_qrcode
  }
}
`;
//获取当前用户是否能查看测试商品
export const TestIem = `
query($driver_id:Int){
  check_page(driver_id:$driver_id){
    is_open
  }
}
`;
//联系我们//投诉建议
export const authorMe = `
query($code:String){get_myblock(code:$code){title content}}`;
//微信config数据
export const weach = `
query($url:String){jssdk(url:$url){appId nonceStr timestamp signature jsapi_ticket url}}`;

//微信分享
export const shears = `
query{
	fenxiang{
		title
		desc
		link
		imgUrl
	}
}`;
// 获取积分明细
export const integralList = `
query($page:Int,$start:String,$end:String,$driver_id:Int,$type:String){
	scorelog_list(page:$page,start:$start,end:$end,driver_id:$driver_id,type:$type){
	list{
		id
		score
		createtime
		memo
	}
	total
	lastpage
	score
	count}}`;
// 获取地址详情
export const integralocation = `
query($id:Int,$driver_id:Int){   
address(id:$id,driver_id:$driver_id){
   id
   consignee
   phone
   address
   abbreviate
   latitude
   longitude
   is_default
}}`;
//绑定记录
export const bindingRecord = `
query($page:Int,$driver_id:Int){   
card_list(page:$page,driver_id:$driver_id){
  list{
     id
     createtime
     card_code
     type
     cate
     money
   }
   total
   lastpage
}}`;
//获取账户信息
export const account = `
query($driver_id:Int){   
  account_list(driver_id:$driver_id){
    type
    value
}}`;

export const screenLists = `
query($type:String){
  scene_list(type:$type){
    name
    scene
  }
}
`;

export const CapitalDetails = `
query($type:String,$driver_id:Int,$page:Int,$start:String,$end:String,$scene:Int){
  moneylog_list(driver_id:$driver_id,page:$page,start:$start,end:$end,scene:$scene,type:$type){
  list{
    id
    type
    driver_id
    driver_name
    money
    createtime
    memo
    money_type
 }
 total
 lastpage
}
}
`;
export const accountList = `
query($type:String,$driver_id:Int){
  account_total_list(type:$type,driver_id:$driver_id){
    name
    value
  }
}
`;
// 获取用户预约/触达总数据
export const getPlugInfo = `
query($plug_id:Int){
  getPlugInfo(plug_id:$plug_id){
    sub_nums
    contact_nums
  }
}
`;
// 获取绑定邀请码
export const inviteArchives = `
query($plug_id:Int,$archives_id:Int){
  inviteArchives(plug_id:$plug_id,archives_id:$archives_id){
    image
  }
}
`;
// 获取宝石数量
export const getGemCount = `
query($driver_id:Int){
  getGemCount(driver_id:$driver_id){
    gem
  }
}
`;
// 获取预约图片
export const ads = `
query($type:String){
  ads(type:$type){
    id
    title
    linkurl
    imageurl
  }
}
`;
// 获取Mp3
export const getSubscribeMp3 = `
query{
  getSubscribeMp3{
    mp3
  }
}
`;
